function updRole() {
    let rId=$(".rId").val();
    let id=$(".id").val();
    let json={
        rId:rId,
        id:id
    }
    $.ajaxSettings.async = false;
    $.post("/zpf/updRole",json,function(data){
        if(data==true){
            alert("修改成功");
        }else{
            alert("修改失败");
        }
    })
    $.ajaxSettings.async = true;
}


function selRole() {
    $.ajaxSettings.async = true;
    $.post("/zpf/selRole",json,function(data){

    })
    $.ajaxSettings.async = false;
}